package com.huaxin.hxmodulesystem.dto.request;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
@Schema(description = "新增组织请求DTO")
public class AddOrganizationReqDTO {

    @NotBlank(message = "组织名称不能为空")
    @Schema(description = "组织名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "华东分公司")
    private String name;

    @NotBlank(message = "组织代码不能为空")
    @Schema(description = "组织代码", example = "EAST_CN_001")
    private String code;

    @Schema(description = "企业责任人电话", example = "13800138000")
    private String adminTel;

    /**
     * 企业责任人姓名
     */
    @Schema(description = "企业责任人姓名", example = "张三")
    private String adminRealName;

    @Schema(description = "上级组织ID", example = "o111111111")
    private String parentId;

    /**
     * 区域
     */
    @Schema(description = "区域", example = "50000100201")
    private String area;
    /**
     * 地址
     */
    @Schema(description = "地址", example = "重庆市重庆市渝北区....")
    private String address;
    /**
     * 经度
     */
    @Schema(description = "经度", example = "116.397128")
    private String longitude;
    /**
     * 纬度
     */
    @Schema(description = "纬度", example = "39.908")
    private String latitude;
    /**
     * 营业执照
     */
    @Schema(description = "营业执照", example = "")
    private String businessLicenseImage;
    /**
     * 法人身份证-人物面
     */
    @Schema(description = "法人身份证-人物面", example = "")
    private String idCardCharacter;
    /**
     * 法人身份证-国徽面
     */
    @Schema(description = "法人身份证-国徽面", example = "")
    private String idCardNationalEmblem;

    /**
     * 合同
     */
    @Schema(description = "合同", example = "")
    private String contract;
}